<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>外出登记</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, user-scalable=no">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta name=”apple-mobile-web-app-status-bar-style” content=”default”/>
    <meta name=”apple-mobile-web-app-status-bar-style” content=”black”/>
    <meta name=”apple-mobile-web-app-status-bar-style” content=”black-translucent”/>
    <meta content="telephone=no" name="format-detection">
    <meta content="email=no" name="format-detection">
    <meta name="format-detection" content="telephone=no"/>
    <link rel="stylesheet" href="${s.base}/mobile/css/weui.min.css"/>
    <link rel="stylesheet" href="${s.base}/mobile/css/jquery-weui.css">
    <link rel="stylesheet" href="${s.base}/mobile/css/indexyq.css?123456789"/>
    <script type="text/javascript" src="${s.base}/mobile/js/fontSize.js"></script>
</head>
<body>
<div class="content2">
    <div class="content2-nei">
        <div class="block-nei-cont">
            <div class="block-outback-cont">
                <div class="outback-icon"><img src="${s.base}/mobile/images/yxwc.png"></div>
                <div class="outback-kind"><b>允许外出</b></div>
                <div class="outback-yz">尊敬的${buildingInfo}业主您好！<br>
                    当前您的外出时间为：
                </div>
                <div class="outback-time">${date}</div>
                <div class="outback-time">${time}</div>
                <div class="outback-yz">
                    当前时间为:
                </div>
                <div class="outback-time" id="showTime"></div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="${s.base}/mobile/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript">
    $(function () {
        setInterval(function () {
            var year = new Date().getFullYear(); //获取当前年
            var mon = new Date().getMonth() + 1; //获取当前月
            var date = new Date().getDate(); //获取当前日
            var hours = new Date().getHours();
            var minutes = new Date().getMinutes();
            var seconds = new Date().getSeconds();
            if (mon < 10) {
                mon = '0' + mon;
            }
            if (date < 10) {
                date = '0' + date;
            }
            if (hours < 10) {
                hours = '0' + hours;
            }
            if (minutes < 10) {
                minutes = '0' + minutes;
            }
            if (seconds < 10) {
                seconds = '0' + seconds;
            }
            $('#showTime').text(year + "年" + mon + "月" + date + "日 " + hours + ":" + minutes + ":" + seconds);
        }, 1000)
    })
</script>
</body>
</html>
